import java.util.Scanner;
public class if_else_exiter {
        public static void main(String[] args){
            Scanner myscanner = new Scanner(System.in);
            System.out.println("请输入该歌手成绩：");
            double scoer = myscanner.nextDouble();
            if( scoer > 8.0){
                System.out.println("请输入性别:");
                char gender = myscanner.next().charAt(0);
                if( gender == '男'){
                    System.out.println("恭喜你进入男子组决赛！");
                }else if(gender == '女'){
                    System.out.println("恭喜你进入女子组决赛！");
                }else{
                    System.out.println("你的输入错误不能判断");
                }
            }else{
                System.out.println("sorry 你被淘汰了！");
            }
        }
}
